inherited frSPR_TARIF: TfrSPR_TARIF
  Caption = #1057#1087#1088#1072#1074#1086#1095#1085#1080#1082' '#1090#1072#1088#1080#1092#1086#1074
  ClientHeight = 555
  ClientWidth = 803
  ExplicitWidth = 809
  ExplicitHeight = 582
  PixelsPerInch = 96
  TextHeight = 13
  inherited pTable: TPanel
    Width = 803
    Height = 291
    ExplicitWidth = 803
    ExplicitHeight = 291
    inherited gbTable: TcxGroupBox
      ExplicitWidth = 795
      ExplicitHeight = 283
      Height = 283
      Width = 795
      inherited sgSpr_Table: TDBGrid
        Width = 785
        Height = 257
        DataSource = dsSprTarif
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
        OnDblClick = sgSpr_TableDblClick
        OnKeyDown = sgSpr_TableKeyDown
        Columns = <
          item
            Expanded = False
            FieldName = 'KOD_TRF'
            Title.Caption = #1050#1086#1076
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CENA'
            Title.Caption = #1062#1077#1085#1072
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'DEN'
            Title.Caption = #1044#1077#1085#1100' '#1080#1079#1084'.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'CENA1'
            Title.Caption = #1062#1077#1085#1072' '#1080#1079#1084'.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NAI_IZM'
            Title.Caption = #1045#1076'.'#1080#1079#1084'.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NAI_TRF'
            Title.Caption = #1053#1072#1080#1084'.'#1090#1072#1088#1080#1092#1072
            Width = 274
            Visible = True
          end>
      end
    end
  end
  inherited pEdit: TPanel
    Top = 291
    Width = 803
    Height = 224
    ExplicitTop = 291
    ExplicitWidth = 803
    ExplicitHeight = 224
    inherited gbEdit: TcxGroupBox
      ExplicitWidth = 795
      ExplicitHeight = 216
      Height = 216
      Width = 795
      object Label1: TLabel
        Left = 16
        Top = 24
        Width = 71
        Height = 14
        Caption = #1050#1086#1076' '#1090#1072#1088#1080#1092#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label2: TLabel
        Left = 16
        Top = 52
        Width = 87
        Height = 14
        Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label3: TLabel
        Left = 16
        Top = 80
        Width = 46
        Height = 14
        Caption = #1045#1076'.'#1080#1079#1084'.:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label7: TLabel
        Left = 16
        Top = 187
        Width = 51
        Height = 14
        Caption = #1042#1080#1076' '#1075#1072#1079#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label6: TLabel
        Left = 16
        Top = 163
        Width = 69
        Height = 14
        Caption = #1053#1086#1074#1072#1103' '#1094#1077#1085#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label5: TLabel
        Left = 16
        Top = 136
        Width = 56
        Height = 14
        Caption = #1044#1077#1085#1100' '#1080#1079#1084':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label4: TLabel
        Left = 16
        Top = 107
        Width = 32
        Height = 14
        Caption = #1062#1077#1085#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label8: TLabel
        Left = 360
        Top = 21
        Width = 137
        Height = 14
        Caption = #1056#1072#1089#1093#1086#1076' '#1075#1072#1079#1072' '#1074' '#1084'3 '#1083#1077#1090#1086#1084':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label9: TLabel
        Left = 360
        Top = 51
        Width = 136
        Height = 14
        Caption = #1056#1072#1089#1093#1086#1076' '#1075#1072#1079#1072' '#1074' '#1084'3 '#1079#1080#1084#1086#1081':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label10: TLabel
        Left = 360
        Top = 80
        Width = 66
        Height = 14
        Caption = #1044#1072#1090#1072' '#1074#1074#1086#1076#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object dbeKod: TDBEdit
        Left = 117
        Top = 23
        Width = 44
        Height = 22
        DataField = 'KOD_TRF'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        OnKeyDown = dbeKodKeyDown
      end
      object dbeNaim: TDBEdit
        Left = 117
        Top = 50
        Width = 212
        Height = 22
        DataField = 'NAI_TRF'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        OnKeyDown = dbeNaimKeyDown
      end
      object cbEdIzm: TDBLookupComboBox
        AlignWithMargins = True
        Left = 117
        Top = 76
        Width = 124
        Height = 22
        BevelWidth = 3
        DataField = 'ED_IZM'
        DataSource = dsSprTarif
        DropDownRows = 10
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        KeyField = 'KOD_IZM'
        ListField = 'NAI_IZM'
        ListFieldIndex = 1
        ListSource = dmProc.dsEdIzm
        ParentFont = False
        TabOrder = 2
        OnKeyDown = cbEdIzmKeyDown
      end
      object dbeCena: TDBEdit
        Left = 117
        Top = 104
        Width = 92
        Height = 22
        DataField = 'CENA'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 3
        OnKeyDown = dbeCenaKeyDown
      end
      object dbeDen: TDBEdit
        Left = 117
        Top = 131
        Width = 44
        Height = 22
        DataField = 'DEN'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 4
        OnKeyDown = dbeDenKeyDown
      end
      object dbeCena1: TDBEdit
        Left = 117
        Top = 158
        Width = 92
        Height = 22
        DataField = 'CENA1'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 5
        OnKeyDown = dbeCena1KeyDown
      end
      object cbVidGaza: TDBLookupComboBox
        Left = 117
        Top = 185
        Width = 124
        Height = 22
        DataField = 'KOD_GAZ'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        KeyField = 'KOD_HC'
        ListField = 'NAIM_KOD'
        ListSource = dmProc.dsVID_GAZA
        ParentFont = False
        TabOrder = 6
        OnKeyDown = cbVidGazaKeyDown
      end
      object dbeRasL: TDBEdit
        Left = 507
        Top = 18
        Width = 72
        Height = 22
        DataField = 'N_LETO'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 7
        OnKeyDown = dbeRasLKeyDown
      end
      object dbeRasZ: TDBEdit
        Left = 507
        Top = 48
        Width = 72
        Height = 22
        DataField = 'N_ZIMA'
        DataSource = dsSprTarif
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 8
        OnKeyDown = dbeRasZKeyDown
      end
      object dtpDat: TDBDateTimeEditEh
        Left = 507
        Top = 75
        Width = 86
        Height = 22
        DataField = 'DAT'
        DataSource = dsSprTarif
        EditButtons = <>
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        Kind = dtkDateEh
        ParentFont = False
        TabOrder = 9
        Visible = True
        OnKeyDown = dtpDatKeyDown
      end
    end
  end
  inherited pUpr: TPanel
    Top = 515
    Width = 803
    ExplicitTop = 515
    ExplicitWidth = 803
  end
  inherited ActionList1: TActionList
    Left = 646
    Top = 98
    inherited Add: TAction
      OnExecute = AddExecute
    end
    inherited Edit: TAction
      OnExecute = EditExecute
    end
    inherited Delete: TAction
      OnExecute = DeleteExecute
    end
    inherited Save: TAction
      OnExecute = SaveExecute
    end
    inherited Print: TAction
      OnExecute = PrintExecute
    end
    object actESC: TAction
      Caption = 'actESC'
      ShortCut = 27
      OnExecute = actESCExecute
    end
  end
  object frxSP_TARIF: TfrxReport
    Version = '4.12'
    DotMatrixReport = False
    IniFile = '\Software\Fast Reports'
    PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator, pbExportQuick]
    PreviewOptions.Zoom = 1.000000000000000000
    PrintOptions.Printer = #1055#1086' '#1091#1084#1086#1083#1095#1072#1085#1080#1102
    PrintOptions.PrintOnSheet = 0
    ReportOptions.CreateDate = 41114.487223055600000000
    ReportOptions.LastChange = 41114.503575231480000000
    ScriptLanguage = 'PascalScript'
    ScriptText.Strings = (
      ''
      'begin'
      ''
      'end.')
    Left = 649
    Top = 65
    Datasets = <
      item
        DataSet = frxDBDSP_TARIF
        DataSetName = 'frxDBDataset1'
      end>
    Variables = <
      item
        Name = ' My_var'
        Value = Null
      end
      item
        Name = 'DAT'
        Value = ''
      end>
    Style = <>
    object Data: TfrxDataPage
      Height = 1000.000000000000000000
      Width = 1000.000000000000000000
    end
    object Page1: TfrxReportPage
      PaperWidth = 210.000000000000000000
      PaperHeight = 297.000000000000000000
      PaperSize = 9
      LeftMargin = 10.000000000000000000
      RightMargin = 10.000000000000000000
      TopMargin = 10.000000000000000000
      BottomMargin = 10.000000000000000000
      object ReportTitle1: TfrxReportTitle
        Height = 71.811070000000000000
        Top = 18.897650000000000000
        Width = 718.110700000000000000
        object Memo2: TfrxMemoView
          Top = 52.913420000000000000
          Width = 64.252010000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Color = clBtnFace
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            #1056#1113#1056#1109#1056#1169)
          ParentFont = False
        end
        object Memo3: TfrxMemoView
          Left = 64.252010000000000000
          Top = 52.913420000000000000
          Width = 200.315090000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Color = clBtnFace
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            #1056#1116#1056#176#1056#1105#1056#1112#1056#181#1056#1029#1056#1109#1056#1030#1056#176#1056#1029#1056#1105#1056#181' '#1057#8218#1056#176#1057#1026#1056#1105#1057#8222#1056#176)
          ParentFont = False
        end
        object Memo4: TfrxMemoView
          Left = 264.567100000000000000
          Top = 52.913420000000000000
          Width = 109.606370000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Color = clBtnFace
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            #1056#8226#1056#1169'/'#1056#1105#1056#183#1056#1112)
          ParentFont = False
        end
        object Memo5: TfrxMemoView
          Left = 374.173470000000000000
          Top = 52.913420000000000000
          Width = 94.488250000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Color = clBtnFace
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            #1056#166#1056#181#1056#1029#1056#176'1')
          ParentFont = False
        end
        object Memo6: TfrxMemoView
          Left = 468.661720000000000000
          Top = 52.913420000000000000
          Width = 94.488250000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Color = clBtnFace
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            #1056#166#1056#181#1056#1029#1056#176'2')
          ParentFont = False
        end
        object Memo7: TfrxMemoView
          Left = 49.133890000000000000
          Top = 7.559059999999999000
          Width = 551.811380000000000000
          Height = 18.897650000000000000
          ShowHint = False
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -16
          Font.Name = 'Arial'
          Font.Style = []
          Memo.UTF8 = (
            #1056#1038#1056#1111#1056#1105#1057#1027#1056#1109#1056#1108' '#1057#8218#1056#176#1057#1026#1056#1105#1057#8222#1056#1109#1056#1030' '#1056#1029#1056#176' '#1056#1110#1056#176#1056#183' '#1056#183#1056#176' [DAT]')
          ParentFont = False
        end
      end
      object MasterData1: TfrxMasterData
        Height = 18.897650000000000000
        Top = 151.181200000000000000
        Width = 718.110700000000000000
        DataSet = frxDBDSP_TARIF
        DataSetName = 'frxDBDataset1'
        RowCount = 0
        object frxDBDataset1NAI_IZM: TfrxMemoView
          Left = 264.567100000000000000
          Width = 109.606370000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'NAI_IZM'
          DataSet = frxDBDSP_TARIF
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8 = (
            '[frxDBDataset1."NAI_IZM"]')
          ParentFont = False
        end
        object frxDBDataset1NAI_TRF: TfrxMemoView
          Left = 64.252010000000000000
          Width = 200.315090000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'NAI_TRF'
          DataSet = frxDBDSP_TARIF
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8 = (
            '[frxDBDataset1."NAI_TRF"]')
          ParentFont = False
        end
        object frxDBDataset1CENA: TfrxMemoView
          Left = 374.173470000000000000
          Width = 94.488250000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'CENA'
          DataSet = frxDBDSP_TARIF
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8 = (
            '[frxDBDataset1."CENA"]')
          ParentFont = False
        end
        object frxDBDataset1CENA1: TfrxMemoView
          Left = 468.661720000000000000
          Width = 94.488188980000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'CENA1'
          DataSet = frxDBDSP_TARIF
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          Memo.UTF8 = (
            '[frxDBDataset1."CENA1"]')
          ParentFont = False
        end
        object frxDBDataset1KOD_TRF: TfrxMemoView
          Width = 64.252010000000000000
          Height = 18.897650000000000000
          ShowHint = False
          DataField = 'KOD_TRF'
          DataSet = frxDBDSP_TARIF
          DataSetName = 'frxDBDataset1'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
          HAlign = haCenter
          Memo.UTF8 = (
            '[frxDBDataset1."KOD_TRF"]')
          ParentFont = False
        end
      end
      object PageFooter1: TfrxPageFooter
        Height = 166.299320000000000000
        Top = 230.551330000000000000
        Width = 718.110700000000000000
        object Memo1: TfrxMemoView
          Left = 642.520100000000000000
          Top = 37.795299999999940000
          Width = 75.590600000000000000
          Height = 18.897650000000000000
          ShowHint = False
          HAlign = haRight
          Memo.UTF8 = (
            '[Page#]')
        end
      end
    end
  end
  object frxDBDSP_TARIF: TfrxDBDataset
    UserName = 'frxDBDataset1'
    CloseDataSource = False
    DataSet = dsetSprTarif
    BCDToCurrency = False
    Left = 683
    Top = 69
  end
  object dsetSprTarif: TIBCQuery
    SQLInsert.Strings = (
      'INSERT INTO SP_TARIF'
      
        '  (ED_IZM, CENA, DEN, KOD_TRF, CENA1, N_LETO, N_ZIMA, KG, NAI_TR' +
        'F, KOD_GAZ, DAT)'
      'VALUES'
      
        '  (:ED_IZM, :CENA, :DEN, :KOD_TRF, :CENA1, :N_LETO, :N_ZIMA, :KG' +
        ', :NAI_TRF, :KOD_GAZ, :DAT)')
    SQLDelete.Strings = (
      'DELETE FROM SP_TARIF'
      'WHERE'
      '  KOD_TRF = :Old_KOD_TRF AND DAT = :Old_DAT')
    SQLUpdate.Strings = (
      'UPDATE SP_TARIF'
      'SET'
      
        '  ED_IZM = :ED_IZM, CENA = :CENA, DEN = :DEN, KOD_TRF = :KOD_TRF' +
        ', CENA1 = :CENA1, N_LETO = :N_LETO, N_ZIMA = :N_ZIMA, KG = :KG, ' +
        'NAI_TRF = :NAI_TRF, KOD_GAZ = :KOD_GAZ, DAT = :DAT'
      'WHERE'
      '  KOD_TRF = :Old_KOD_TRF AND DAT = :Old_DAT')
    SQLRefresh.Strings = (
      
        'SELECT ED_IZM, CENA, DEN, KOD_TRF, CENA1, N_LETO, N_ZIMA, KG, NA' +
        'I_TRF, KOD_GAZ, DAT FROM SP_TARIF'
      'WHERE'
      '  KOD_TRF = :KOD_TRF AND DAT = :DAT')
    SQLLock.Strings = (
      'SELECT NULL FROM SP_TARIF'
      'WHERE'
      'KOD_TRF = :Old_KOD_TRF AND DAT = :Old_DAT'
      'FOR UPDATE WITH LOCK')
    Connection = dmOne.IBDBOne
    SQL.Strings = (
      'select S.kod_trf, S.ED_IZM, S.CENA, S.CENA1,'
      
        '       S.DEN, S.N_LETO, S.N_ZIMA,S.KG, S.NAI_TRF, S.DAT, S.KOD_G' +
        'AZ, SI.NAI_IZM'
      '      from SP_TARIF S, SP_IZM SI'
      '      where S.DAT=:DAT'
      '      AND S.ED_IZM=SI.KOD_IZM'
      'order by S.kod_trf')
    Left = 647
    Top = 31
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'DAT'
      end>
  end
  object dsSprTarif: TIBCDataSource
    DataSet = dsetSprTarif
    Left = 680
    Top = 32
  end
end
